================================================================================
                                样例使用说明
                                Sample Description
================================================================================
功能描述：
定时器1的使能由定时器3控制，当定时器3计数时，LED会常亮，当定时器3发生更新事件时，
更新事件会触发定时器1，定时器1开始计数后，LED会以5Hz的频率进行翻转

Function descriptions:
The enable of TIM1 is controlled by TIM3. When TIM3 counts, the LED will be 
steady on. The update event generated by TIM3 will triggers TIM1, and when TIM1 
starts counting, the LED is toggled at a frequency of 5Hz
================================================================================
测试环境：
测试用板：PY32F040E_STK
MDK版本： 5.28
IAR版本： 9.20
GCC 版本：GNU Arm Embedded Toolchain 10.3-2021.10

Test environment:
Test board: PY32F040E_STK
MDK Version: 5.28
IAR Version: 9.20
GCC Version: GNU Arm Embedded Toolchain 10.3-2021.10
================================================================================
使用步骤：
1. 下载程序并运行；
2. 运行程序，在仿真模式下查看，TIM1先不会计数,当TIM3发生更新事件后，
TIM1开始计数
3. TIM1开始计数后，LED会以5Hz的频率进行翻转

Example execution steps:
1. compile and download the program to MCU and run it;
2. Run the program and check it in debug mode. TIM1 will not count first.
After an update event occurs in TIM3,TIM1 starts counting
3. After TIM1 starts counting, the LED will flip at a frequency of 5Hz
================================================================================
注意事项：
如果需要使用按键:
StartKit版本为V2.0以下,需将StartKit.h中的StartKitVersion 2 注释掉，并打开
StartKitVersion 1
StartKit版本为V2.0及以上版本,则无需操作

Notes:
If you need to use buttons:
StartKit version is below V2.0, you need to comment StartKitVersion 2 in
StartKit.h, and open StartKitVersion 1 
StartKit version is V2.0 and above, no operation is required

================================================================================